package main;


import javax.swing.JFrame;





@SuppressWarnings("serial")
public class JSwarmEngine extends JFrame implements Commons {

	
	
    public JSwarmEngine(String myGameName, Board gameBoard)
    {
    	add(gameBoard);
        setTitle(myGameName);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setSize(gameBoard.getD().width, gameBoard.getD().height);
        setLocationRelativeTo(null);
        setVisible(true);
        setResizable(false);
        
    }
   
   
}
